<template>
  <div class="home">
    <button @click="levelplus">递增level</button>
    <!-- 1.在模版中直接使用多个状态 -->
    <h2>doubleCounter:{{ $store.getters.doubleCounter }}</h2>
    <h2>totalAge:{{ $store.getters.totalAge }}</h2>
    <h2>message:{{ $store.getters.message }}</h2>
    <h2>getUserById:{{ $store.getters.getUserById(112) }}</h2>

  </div>
</template>
<script>


</script>

<script setup>

</script>
